[INFO] cloning repository https://github.com/dsbarnes/linked-lists
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsbarnes/linked-lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eb80fb1b74e71e80a83ed6fc146b44a55133819b
[INFO] building dsbarnes/linked-lists against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dsbarnes/linked-lists on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dsbarnes/linked-lists
[INFO] finished tweaking git repo https://github.com/dsbarnes/linked-lists
[INFO] tweaked toml for git repo https://github.com/dsbarnes/linked-lists written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/dsbarnes/linked-lists already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5f917ed115f0d8b009f836724bc323909bc93e03c41b2fb6c5e63c73b0a4ee40
[INFO] running `Command { std: "docker" "start" "-a" "5f917ed115f0d8b009f836724bc323909bc93e03c41b2fb6c5e63c73b0a4ee40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f917ed115f0d8b009f836724bc323909bc93e03c41b2fb6c5e63c73b0a4ee40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f917ed115f0d8b009f836724bc323909bc93e03c41b2fb6c5e63c73b0a4ee40", kill_on_drop: false }`
[INFO] [stdout] 5f917ed115f0d8b009f836724bc323909bc93e03c41b2fb6c5e63c73b0a4ee40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 412f5a95a0ad568c248f246ff56efa18225a02ab8113042ba41ef10e64d0c79e
[INFO] running `Command { std: "docker" "start" "-a" "412f5a95a0ad568c248f246ff56efa18225a02ab8113042ba41ef10e64d0c79e", kill_on_drop: false }`
[INFO] [stderr]    Compiling linked-lists v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]   --> src/second.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |                      ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout]    = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
[INFO] [stdout] help: if this is a `self` type, give it a parameter name
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(self: &sefl) -> Option<&T> {
[INFO] [stdout]    |                 +++++
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(sefl: &TypeName) -> Option<&T> {
[INFO] [stdout]    |                 ~~~~~~~~~~~~~~~
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(_: &sefl) -> Option<&T> {
[INFO] [stdout]    |                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/second.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |                                  ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&'static T> {
[INFO] [stdout]    |                                   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/second.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |            ---- this function doesn't have a `self` parameter
[INFO] [stdout] 44 |         self.head.as_ref().map(|node| {
[INFO] [stdout]    |         ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]    |
[INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&&self, sefl) -> Option<&T> {
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/second.rs:33:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> List<T> {
[INFO] [stdout]    |      - this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 33 |         self.head = Some(new_node);
[INFO] [stdout]    |                     ---- ^^^^^^^^ expected type parameter `T`, found struct `second::Node`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<T>`
[INFO] [stdout]               found struct `Box<second::Node<T>>`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |             self.head = node.next;
[INFO] [stdout]    |                              ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `elem` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |             node.elem
[INFO] [stdout]    |                  ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `elem` on type `&mut Box<T>`
[INFO] [stdout]   --> src/second.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |             &mut node.elem
[INFO] [stdout]    |                       ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:60:35
[INFO] [stdout]    |
[INFO] [stdout] 60 |             cur_link = boxed_node.next.take();
[INFO] [stdout]    |                                   ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0424, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linked-lists` due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "412f5a95a0ad568c248f246ff56efa18225a02ab8113042ba41ef10e64d0c79e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "412f5a95a0ad568c248f246ff56efa18225a02ab8113042ba41ef10e64d0c79e", kill_on_drop: false }`
[INFO] [stdout] 412f5a95a0ad568c248f246ff56efa18225a02ab8113042ba41ef10e64d0c79e
